package com.njlime.sys.repository.app;

import com.njlime.sys.entities.UnitWxConfig;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * Created by Dean on 2017-7-27.
 */
public interface AppUnitWxConfigDao extends JpaRepository<UnitWxConfig, Integer>,JpaSpecificationExecutor<UnitWxConfig> {

    /**
     * 根据微信原始id查询公共号
     * @param wxId
     * @return
     */
    public UnitWxConfig getWxConfigByWxid(String wxId);


}
